/**
 * 
 */
package info.niwota.commons.web;

import android.provider.BaseColumns;

/**
 * @author qiangli
 * 
 */
public final class PageColumns implements BaseColumns {
	// _ID
	// _COUNT
	public static final String TYPE = "type"; // 0: content, 1: uri, -1: error
	public static final String TITLE = "title";
	public static final String URI = "uri";
	public static final String CONTENT = "content";
	public static final String CONTENT_ENCODING = "content_encoding";
	public static final String CONTENT_TYPE = "content_type";
	public static final String CONTENT_LENGTH = "content_length";
	public static final String LAST_MODIFIED = "last_modified";
	public static final String ICON = "icon";
	public static final String COOKIES = "cookies";
	public static final String SESSION = "session";
	public static final String STATUS_CODE = "status_code";

	public static class ColumnIndice {
		public static final int _ID = 0;
		public static final int TYPE = 1;
		public static final int TITLE = 2;
		public static final int URI = 3;
		public static final int CONTENT = 4;
		public static final int CONTENT_ENCODING = 5;
		public static final int CONTENT_TYPE = 6;
		public static final int CONTENT_LENGTH = 7;
		public static final int LAST_MODIFIED = 8;
		public static final int ICON = 9;
		public static final int COOKIES = 10;
		public static final int SESSION = 11;
		public static final int STATUS_CODE = 12;
	}

	public static final String[] ColumnNames = new String[] { _ID, TYPE, TITLE,
			URI, CONTENT, CONTENT_ENCODING, CONTENT_TYPE, CONTENT_LENGTH,
			LAST_MODIFIED, ICON, COOKIES, SESSION, STATUS_CODE };


	private PageColumns() {	
	}
	
}
